package com.kedacom.demo.websocket.rpc;

import java.util.UUID;

public class Request {

	protected String id;
	protected String type;
	protected String data;

	public Request() {
		this.id = UUID.randomUUID().toString();
	}

	public Request(String type) {
		this();
		this.type = type;
	}

	public Request(String type, String data) {
		this();
		this.type = type;
		this.data = data;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

}
